package com.spring.bean.gf;

import com.spring.annotation.entity.*;
import com.spring.bean.Entity;

@Table(name = "gf_sort")
public class GfSort extends Entity {

	private Integer id; // 
	private Integer pid; // 
	private String name; // 
	private Integer isable;
	private Integer order_by; //

	@NotPersistent(fk = "pid")
	private GfSort gfSort;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getOrder_by() {
		return order_by;
	}

	public void setOrder_by(Integer order_by) {
		this.order_by = order_by;
	}

	public GfSort getGfSort() {
		return gfSort;
	}

	public void setGfSort(GfSort gfSort) {
		this.gfSort = gfSort;
	}

	public Integer getIsable() {
		return isable;
	}

	public void setIsable(Integer isable) {
		this.isable = isable;
	}

	@Override
	public String toString() {
		return "GfSort [" + "id=" + id + ", pid=" + pid + ", " + "name=" + name
				+ ", order_by=" + order_by + ", " + "toString()="
				+ super.toString() + "]";
	}
}